Swapping of two numbers with additional variable
Step 1: Start
Step 2: Read the first number a
Step 3: Read the second number b
Step 4: Consider a temporary variable, t and Assign t with a's value
t=a
Step 5: Assign a with b's value
a=b
Step 6: Assign b with t's value
b=t
Step 7: Print a, b after swapping
Step 8: Stop
Find area and circumference of a circle
Step 1: Start
Step 2: Input the radius of the circle
Step 3: Find area and circumference of circle
area=3.14*r*r
circumference = 2*3.14*r
Step 4: Print the value of area and circumference of the circle
Step 5: Stop
Calculate the Simple Interest for the given Principal, rate of Interest and period of time.
Step 1: Start
Step 2: Input Principal Amount, Rate of interest and period of Time
Step 3: Find the simple Interest using formula
SI= ((amount*rate*time)/100)
Step 4: Print Simple Interest
Step 5: Stop
Convert Celsius to Fahrenheit
Step 2: Input Celsius
Step 3: Find Fahrenheit using the formula
F=9/5(C) +32
Step 4: Print Fahrenheit
Step 5: Stop
Convert Bytes into Kilo Bytes, Mega Bytes, Giga Bytes and Tera Bytes.
Step 2: Read Bytes
Step 3: Find KiloBytes=Bytes/1024
Step 4: Find MegaBytes=kiloBytes/1024
Step 5: Find GigaBytes=MegaBytes/1024
Step 6: Find TeraBytes=GigaBytes/1024
Step 7: Print KiloBytes, MegaBytes, GigaBytes, TeraBytes.
Step 8: Stop